package Demo;

public class SubCar extends Car {
    public int price;
    public int speed;
    public void changeSpeed(int a){
        this.speed = a;
    }

    public static void main(String[] args) {
    }
}
